package com.ejiaoyi.api.dto.v1;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * GetBidDocInfo
 *
 * @author unknownChivalrous
 * @return
 * @date 2020/6/2 12:34
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "chainBidDocInfo", description = "标书存储基本信息")
public class ChainBidDocInfo extends BaseModel implements Serializable {

    private static final long serialVersionUID = 1L;

    @JsonProperty("no_name")
    @JSONField(name = "no_name")
    @ApiModelProperty(value = "标段名称", required = true, example = "甘肃省兰州公共资源交易中心2020年003号项目")
    private String noName;

    @JsonProperty("no_num")
    @JSONField(name = "no_num")
    @ApiModelProperty(value = "标段编号", required = true, example = "甘-LZGGZYJYZX-2020-003-2")
    private String noNum;


    @JsonProperty("bidder_name")
    @JSONField(name = "bidder_name")
    @ApiModelProperty(value = "投标人名称", required = true, example = "中国第四铁路建造有限公司")
    private String bidderName;


    @JsonProperty("bidder_credit_code")
    @JSONField(name = "bidder_credit_code")
    @ApiModelProperty(value = "投标人信用代码", required = true, example = "913101175821220588")
    private String bidderCreditCode;


    @JsonProperty("the_bid_time")
    @JSONField(name = "the_bid_time")
    @ApiModelProperty(value = "投标时间", required = true, example = "2020-05-05 12:00:00")
    private String theBidTime;

    @JsonProperty("bid_dep_cert_hash_code")
    @JSONField(name = "bid_dep_cert_hash_code")
    @ApiModelProperty(value = "投标存证文件HASH码", required = true, example = "2f8da877-938d-47e7-8b5a-a6f4785384c7")
    private String bidDepCertHashCode;

    @JsonProperty("bid_doc_hash_code")
    @JSONField(name = "bid_doc_hash_code")
    @ApiModelProperty(value = "投标文件HASH码", required = true, example = "2f8da877-938d-47e7-8b5a-a6f4785384c7")
    private String bidDocHashCode;


    @JsonProperty("bid_doc_suffix")
    @JSONField(name = "bid_doc_suffix")
    @ApiModelProperty(value = "投标文件类型(后缀名)", required = true, example = ".pdf")
    private String bidDocSuffix;

}
